<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	  xmlns:h="http://java.sun.com/jsf/html"
	  xmlns:f="http://java.sun.com/jsf/core"
      xmlns:ui="http://java.sun.com/jsf/facelets"> 
<ui:composition template="/templates/principal.xhtml">
	<ui:define name="titulo">AmtRj-Associação de Músico Terapeutas RJ</ui:define>
	
	<ui:define name="corpo">
	<div class="indent">
	<h:form id="login-form">
		<h2>Login</h2>
		<fieldset>
			<br />
			<br />
			<br />
			<br />
			<br />
			<div class="field">
			<label>Usuário:</label>
			<h:inputText id="nome" label="Usuário" value="#{acessoUsuarioHandler.usuario.login}" required="true" />
			</div>
			<div class="field">
			<label>Senha:</label>
			<h:inputSecret id="senha" label="Senha" value="#{acessoUsuarioHandler.usuario.senha}" required="true" />
			</div>
			<br />
			<br />
			<div class="alignright"><label>&nbsp;</label>
			<h:commandButton action="#{acessoUsuarioHandler.validar}" value="Entrar" />
			</div>
		</fieldset>
		<h:messages style="color: red" />
	</h:form>
	</div>
	</ui:define>
</ui:composition>
</html>